/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cmc.rra.sub.impl;

import com.cmc.rra.sub.TransactionDetails;
import java.util.Date;

/**
 *
 * @author cmc
 */
public class TransactionDetailsImpl implements TransactionDetails {

    private Long transactionNumber;
    private Date dateOfPayment;
    private String name;
    private String year;
    private Double amount;
    private String taxTypeCode;
    private String taxTypeName;
    private String locationCode;
    private Long receiptNumber;    

    public Long getTransactionNumber() {
        return transactionNumber;
    }

    public void setTransactionNumber(Long transactionNumber) {
        this.transactionNumber = transactionNumber;
    }

    public Date getDateOfPayment() {
        return dateOfPayment;
    }

    public void setDateOfPayment(Date dateOfPayment) {
        this.dateOfPayment = dateOfPayment;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public String getTaxTypeCode() {
        return taxTypeCode;
    }

    public void setTaxTypeCode(String taxTypeCode) {
        this.taxTypeCode = taxTypeCode;
    }

    public String getTaxTypeName() {
        return taxTypeName;
    }

    public void setTaxTypeName(String taxTypeName) {
        this.taxTypeName = taxTypeName;
    }

    public String getLocationCode() {
        return locationCode;
    }

    public void setLocationCode(String locationCode) {
        this.locationCode = locationCode;
    }

    public Long getReceiptNumber() {
        return receiptNumber;
    }

    public void setReceiptNumber(Long receiptNumber) {
        this.receiptNumber = receiptNumber;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("TransactionDetailsImpl{");
        builder.append("TransactionDetailsImpl{transactionNumber=");
        builder.append(transactionNumber);
        builder.append(", dateOfPayment=");
        builder.append(dateOfPayment);
        builder.append(", name=");
        builder.append(name);
        builder.append(", year=");
        builder.append(year);
        builder.append(", amount=");
        builder.append(amount);
        builder.append(", taxTypeCode=");
        builder.append(taxTypeCode);
        builder.append(", taxTypeName=");
        builder.append(taxTypeName);
        builder.append(", locationCode=");
        builder.append(locationCode);
        builder.append(", receiptNumber=");
        builder.append(receiptNumber);
        builder.append("}");

        return builder.toString();
    }
}
